simple client server chat program in java using socket